package car.aistar.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * (Picture)实体类
 *
 * @author makejava
 * @since 2020-09-30 20:21:59
 */
public class Picture implements Serializable {
    private static final long serialVersionUID = -81233272386797602L;
    /**
     * 图片id
     */
    private Long id;
    /**
     * 车辆id
     */
    private Long cid;
    /**
     * 车辆描述
     */
    private String pictureDesc;
    /**
     * 车辆主图
     */
    private String pictureUrl;
    /**
     * 车辆入库时间
     */
    private Date pictureDate;
    /**
     * 分图1
     */
    private String fen1Url;
    /**
     * 分图2
     */
    private String fen2Url;
    /**
     * 分图3
     */
    private String fen3Url;
    /**
     * 分图4
     */
    private String fen4Url;

    public Picture() {
    }

    public Picture(Long cid, String pictureDesc, String pictureUrl, Date pictureDate, String fen1Url, String fen2Url, String fen3Url, String fen4Url) {
        this.cid = cid;
        this.pictureDesc = pictureDesc;
        this.pictureUrl = pictureUrl;
        this.pictureDate = pictureDate;
        this.fen1Url = fen1Url;
        this.fen2Url = fen2Url;
        this.fen3Url = fen3Url;
        this.fen4Url = fen4Url;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCid() {
        return cid;
    }

    public void setCid(Long cid) {
        this.cid = cid;
    }

    public String getPictureDesc() {
        return pictureDesc;
    }

    public void setPictureDesc(String pictureDesc) {
        this.pictureDesc = pictureDesc;
    }

    public String getPictureUrl() {
        return pictureUrl;
    }

    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }

    public Date getPictureDate() {
        return pictureDate;
    }

    public void setPictureDate(Date pictureDate) {
        this.pictureDate = pictureDate;
    }

    public String getFen1Url() {
        return fen1Url;
    }

    public void setFen1Url(String fen1Url) {
        this.fen1Url = fen1Url;
    }

    public String getFen2Url() {
        return fen2Url;
    }

    public void setFen2Url(String fen2Url) {
        this.fen2Url = fen2Url;
    }

    public String getFen3Url() {
        return fen3Url;
    }

    public void setFen3Url(String fen3Url) {
        this.fen3Url = fen3Url;
    }

    public String getFen4Url() {
        return fen4Url;
    }

    public void setFen4Url(String fen4Url) {
        this.fen4Url = fen4Url;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Picture{");
        sb.append("id=").append(id);
        sb.append(", cid=").append(cid);
        sb.append(", pictureDesc='").append(pictureDesc).append('\'');
        sb.append(", pictureUrl='").append(pictureUrl).append('\'');
        sb.append(", pictureDate=").append(pictureDate);
        sb.append(", fen1Url='").append(fen1Url).append('\'');
        sb.append(", fen2Url='").append(fen2Url).append('\'');
        sb.append(", fen3Url='").append(fen3Url).append('\'');
        sb.append(", fen4Url='").append(fen4Url).append('\'');
        sb.append('}');
        return sb.toString();
    }
}